set(EXECUTABLE_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/bin)

find_package(OpenCV REQUIRED)

macro(add_example name)
    add_executable(${name} ${name}.cpp)
    target_link_libraries(${name} PRIVATE ${OpenCV_LIBS})
    target_include_directories(${name} PRIVATE ${OpenCV_INCLUDE_DIRS})
endmacro()


add_example(fast)
add_example(orb)
